package com.yi.gostockgo.service;

import com.yi.gostockgo.common.BaseMessage;
import com.yi.gostockgo.controller.vo.GoUserVo;
import com.yi.gostockgo.pojo.GoUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 股民信息 服务类
 * </p>
 *
 * @author liandyao
 * @since 2020-04-19
 */
public interface GoUserService extends IService<GoUser> {

    /**
     * 用户登录的服务
     * @param user
     * @return BaseMessage
     */
    public BaseMessage login(GoUser user);

    /**
     * 查询是否存在账号
     * @param user
     * @return
     */
    public BaseMessage checkUser(GoUser user);

    /**
     * 根据条件分页查询
     * @param goUserVo
     * @return 用户数据
     */
    Map<String, Object> pagingQuery(GoUserVo goUserVo);

}
